package com.zhk.entry.proxy;

public class StudentPersion implements Persion {

    @Override
    public void giveName(String name) {
        try {
            //假设数钱花了一秒时间
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("我的名字："+name);
    }

    @Override
    public void giveAge(Integer age) {
        System.out.println("我的年里："+age);

    }
}
